<!--<div class="brands-filter">
<b><{t}>商品类型：<{/t}></b>
 
<{foreach from=$types item=item name=name}>
	<a href="<{link app=b2c ctl=site_brand act=showList arg0=$item.type_id}>" 
	<{if $type_id && $type_id==$item.type_id}>
	class="btn btn-primary btn-xs"
	<{else}>
	class="btn btn-default btn-xs"
	<{/if}>
	><{t}><{$item.name}><{/t}></a>
<{/foreach}>
</div> -->

<!--brand-letters-->
<div class="brand-letter-wrap">
	<div class="brand-letter pull-right">
		<a href="?letter=" class="btn btn-xs btn-default">Очистить</a>
		</div>
		<div class="brand-letter pull-left">
		<{foreach from=$brand_count.num.0 item=v key=k}>
			<{if $v!='0'}>
				<a href="?letter=<{$k}>" class="btn btn-xs <{if $k==$brand_count.active}>btn-primary<{else}>btn-default<{/if}>"><{$k}><sup><{$v}></sup></a>	
			<{else}>	
				<div class="btn btn-xs btn-default disabled"><{$k}><sup><{$v}></sup></div>	
			<{/if}>
		<{/foreach}>
	</div>
	<div class="clearfix"></div>
	<div class="brand-letter">	
		<{foreach from=$brand_count.en.0 item=v key=k}>
			<{if $v!='0'}>
				<a href="?letter=<{$k}>" class="btn btn-xs <{if $k==$brand_count.active}>btn-primary<{else}>btn-default<{/if}>"><{$k}><sup><{$v}></sup></a>	
			<{else}>	
				<div class="btn btn-xs btn-default disabled"><{$k}><sup><{$v}></sup></div>	
			<{/if}>
		<{/foreach}>
	</div>
	<div class="brand-letter">	
		<{foreach from=$brand_count.ru.0 item=v key=k}>
			<{if $v!='0'}>
				<a href="?letter=<{$k}>" class="btn btn-xs <{if $k==$brand_count.active}>btn-primary<{else}>btn-default<{/if}>"><{$k}><sup><{$v}></sup></a>	
			<{else}>	
				<div class="btn btn-xs btn-default disabled"><{$k}><sup><{$v}></sup></div>	
			<{/if}>
		<{/foreach}>
	</div>
</div>
<!--/brand-letters-->

<div class="brands-list">
<div class="row">

  <{foreach from=$data item=item name=name}>
  <{if $smarty.foreach.name.iteration <13}>
	 <div class="col-lg-3 col-md-3 col-sm-4 col-xs-12">
	 <div class="brand-list">
	<!--<pre>
	<{$item|print_r}>
   </pre>-->
		<a  target="_blank" href="<{link app=b2c ctl=site_brand act=index arg0=$item.brand_id}>" title="<{t}>了解<{/t}> <{$item.brand_name}>" class="brand-list-title"><{$item.brand_name}></a>
		  <div class="img">
				<div class="brand-logo"> <a target="_blank" href="<{link app=b2c ctl=site_brand act=index arg0=$item.brand_id}>" title="<{$item.brand_name}>"><img src="<{$item.brand_logo|default:$defaultImage|storager}>" alt="<{$item.brand_name}>"></a></div>
		  </div>
			<div class="brand-desc">
			<{$item.brand_intro}>
			</div>
			<a class="btn btn-sm btn-primary pull-right" target="_blank" href="<{link app=b2c ctl=site_brand act=index arg0=$item.brand_id}>" title="<{t}>了解<{/t}>&nbsp;<{$item.brand_name}>">Подробнее</a>
			<div class="clearfix"></div>
		</div>
	</div>
        <!--<div class="brand-num">
              商铺搜索数量：5456 
              <ins>
                  <a href="#">男鞋</a><a href="#">男鞋</a><a href="#">男鞋</a>
              </ins>
        </div>-->
 
  <{/if}>
  <{if $smarty.foreach.name.iteration >=13}>
	
  <div class="more" style='display:none'>
   <div class="col-lg-3 col-md-3 col-sm-4 col-xs-12">

	 <div class="brand-list">
	<div class="img">
	<a href="<{link app=b2c ctl=site_brand act=index arg0=$item.brand_id}>" title="<{t}>了解<{/t}> <{$item.brand_name}>" class="brand-list-title"><{$item.brand_name}></a>
          <div class="brand-logo">
              <a href="<{link app=b2c ctl=site_brand act=index arg0=$item.brand_id}>" title="<{t}>了解<{/t}> <{$item.brand_name}>"><img src="<{$item.brand_logo|default:$defaultImage|storager}>" alt="<{$item.brand_name}>"></a>
		  </div>
	</div>
		<div class="brand-desc">
		<{$item.brand_intro}>
		</div>
		<a class="btn btn-sm btn-primary pull-right" href="<{link app=b2c ctl=site_brand act=index arg0=$item.brand_id}>" title="<{t}>了解<{/t}>&nbsp;<{$item.brand_name}>">Подробнее</a>
		<div class="clearfix"></div>
	</div>	
	</div>
  </div>
  <{/if}>
  <{/foreach}>
  <{if count($data) > 12}>
	<div class="more-brand tc text-center"><a href="javascript:void(0);" class="btn btn-primary"><{t}>更多<{/t}><i class="icon" data-toggle="&#x37;">&#x36;</i></a></div>
  <{/if}>
</div>
</div>

<script>
window.addEvent('load',function(){
    if(Browser.ie6) {
        $$('.brands-list .img img').each(function(img){
            img.zoomImg(150,100);
        });
    }
});

$$('.more-brand').addEvent('click',function(){
	$$('.more').setStyle('display','block');
	this.setStyle('display','none');
});

</script>
